﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NGUYENTHUTRANG.OOP.MVC.ex5
{
    class Controller5
    {
        private Models5 mobjkb;

        public Controller5()
        {
            mobjkb = new Models5();
        }

        public Boolean checkcontrol(Entity5 objen , short ctt,short cgt)
        {
            if(mobjkb.checktinhtrang(objen,ctt,cgt))
            {
                return true;
            }
            return false;
        }
    }
}
